home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
EDUCNOMY
/
ASTROSET.LZH
/
STEPPR.BAS
< prev
next >
Wrap
BASIC Source File
|
1985-12-20
|
384b
|
15 lines
10 REM STEPPER-MOTOR DEMO
15 REM
20 X=49152: REM PORT ADDRESS
25 DATA 9,1,3,2,6,4,12,8
30 DIM A(8)
35 FOR I=0 TO 7: READ A(I): NEXT I
40 INPUT "START, STOP ";C,D
45 FOR J=C TO D STEP SGN(D-C)
50 K=8*((J/8)-INT(J/8))
55 POKE X,A(K)
60 NEXT J
65 END